<% @note = Note.find_by_id(params[:id]) %>
<% form_remote_tag :url => { :controller => "note", :action=> "edit"} do %>
  <div style="margin: 5px;">
      <%= text_area_tag :notebody, @note.message, :size=> "45x15" %>
  </div>
  <%=  hidden_field_tag 'rediract', params[:rediract] %>
  <%=  hidden_field_tag 'redircont', params[:redircont] %>
  <%=  hidden_field_tag 'id', params[:id] %>
  <div style="margin: 2px;">
    <%= submit_tag "Save", :class => "submit" %>
  </div>
<% end %>
